package com.njit.mailm.core.bean;

import java.util.List;

public class MessageWrap {
	private String id;
	private String subject;
	private String from;
	private String fromName = "";
	private String to;
	private String[] tos;
	private String bcc = "";
	private String[] bccs;
	private String copyTo = "";
	private String[] ccs;
	private String sendtime;
	private boolean isread;
	private int priority;
	private String size;
	private String body;
	private Email email;
	private String contentPrev;
	private boolean mark = false;

	public boolean isMark() {
		return mark;
	}

	public void setMark(boolean mark) {
		this.mark = mark;
	}

	public String getFromName() {
		return fromName;
	}
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}
	public String getContentPrev() {
		return contentPrev;
	}
	public void setContentPrev(String contentPrev) {
		this.contentPrev = contentPrev;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getBcc() {
		return bcc;
	}
	public void setBcc(String bcc) {
		this.bcc = bcc;
	}
	public String getSendtime() {
		return sendtime;
	}
	public void setSendtime(String sendtime) {
		this.sendtime = sendtime;
	}
	public boolean isIsread() {
		return isread;
	}
	public void setIsread(boolean isread) {
		this.isread = isread;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	public String getCopyTo() {
		return copyTo;
	}
	public void setCopyTo(String copyTo) {
		this.copyTo = copyTo;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}

	public boolean isread() {
		return isread;
	}

	public Email getEmail() {
		return email;
	}

	public String[] getTos() {
		return tos;
	}

	public void setTos(String[] tos) {
		this.tos = tos;
	}

	public String[] getBccs() {
		return bccs;
	}

	public void setBccs(String[] bccs) {
		this.bccs = bccs;
	}

	public String[] getCcs() {
		return ccs;
	}

	public void setCcs(String[] ccs) {
		this.ccs = ccs;
	}

	public void setEmail(Email email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "MessageWrap [id=" + id + ", subject=" + subject + ", from=" + from + ", fromName=" + fromName + ", to="
				+ to + ", bcc=" + bcc + ", copyTo=" + copyTo + ", sendtime=" + sendtime + ", isread=" + isread
				+ ", priority=" + priority + ", size=" + size +  ", body=" + body
				+ ", contentPrev=" + contentPrev + "]";
	}
	
}
